import request from '@/utils/request.js';
import httpConfig from '@/config/http.js'
const prefixUrl = '/goodsOutboundRecord';
export default {
	findAll: data => {
		// data : typeName, name, beginTime, endTime
		return request({
			url: `${prefixUrl}/findAll`,
			method: httpConfig.METHODS.POST,
			data
		})
	},
	save: data => {
		return request({
			url: `${prefixUrl}/save`,
			method: httpConfig.METHODS.POST,
			data
		})
	},
}